package com.tiancheng.trade.order.service;

import com.tiancheng.trade.order.vo.open.order.OpenCashierResVO;
import com.tiancheng.trade.order.vo.parallel.CashierParallelVO;
import com.tiancheng.trade.order.vo.parallel.OrderPayParallelVO;
import com.tiancheng.trade.order.vo.parallel.res.CashierParallelResVO;
import com.tiancheng.trade.order.vo.parallel.res.OrderPrePayParallelResVO;

import java.util.Map;

/**
 * @Author: likailun
 * @Description: 批量订单付款service 实现
 * @Date: create in 2023/6/9 16:54
 */
public interface OrderBatchPayService {
    /**
     * 初始化收银台
     * @param cashierParallelVO
     * @return
     */
    OpenCashierResVO initCashier(CashierParallelVO cashierParallelVO);

    /**
     * 支付
     * @param orderPayParallelVO
     * @return
     */
    OrderPrePayParallelResVO pay(OrderPayParallelVO orderPayParallelVO);

    /**
     * 查询支付状态
     * @param uid
     * @param batchId
     * @return
     */
    Map<String, String> getPayStatus(String uid, String batchId);

}
